<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>订单列表</title>
</head>
<body>
<h1>订单列表：</h1>

<table border="1">
    <tr>
        <th>订单编号</th>
        <th>商品名称</th>
        <th>购买数量</th>
        <th>单价</th>
        <th>支付状态</th>
        <th>下单时间</th>
        <th>支付时间</th>
        <th>附加信息</th>
    </tr>
    <tr  th:each="order : ${orderList}">
        <td th:text="${order.orderId}"></td>
        <td th:text="${order.productName}"></td>
        <td th:text="${order.number}"></td>
        <th th:text="${order.price}"></th>
        <th th:text="${order.status}"></th>
        <th th:text="${order.createTime}"></th>
        <th th:text="${order.payTime}"></th>
        <th th:text="${order.addition}"></th>
    </tr>
</table>

<a href="/index">返回首页</a>
</body>
</html>